﻿using System;
using fastCSharp;

namespace diantou.web
{
    /// <summary>
    /// 图片分割
    /// </summary>
    struct focusImage
    {
        /// <summary>
        /// 是否重新加载视图
        /// </summary>
        [fastCSharp.code.cSharp.webView.outputAjax]
        public bool ViewOnly;
        /// <summary>
        /// 图片分割
        /// </summary>
        public subArray<diantou.dataAccess.user>[] Users;
        /// <summary>
        /// 图片总数
        /// </summary>
        public int Count;
        /// <summary>
        /// 图片分割
        /// </summary>
        /// <param name="users"></param>
        /// <param name="rowCount"></param>
        public focusImage(diantou.dataAccess.user[] users, int rowCount)
        {
            Count = users.length();
            Users = users.split(rowCount);
            ViewOnly = false;
        }
    }
}
